package com.woniu.humanresource.service;

import com.woniu.humanresource.entity.Department;
import com.woniu.humanresource.entity.PageBean;
import com.woniu.humanresource.entity.TrainingDemand;

import java.util.List;

public interface TrainingDemandService {
    // 条件查询
    PageBean<TrainingDemand> selectTrainingDemandCondition(TrainingDemand demand,int pageIndex, int pageSize);
    // 删除
    void deleteTrainingDemand(int did);
    // 添加
    void addTrainingDemand(TrainingDemand demand);
    // 查询部门
    List<Department> getDep();
    // 修改
    void updateTrainingDemand(TrainingDemand demand);
}
